libelf: move to init text/data when built for the hypervisor
authorKeir Fraser <keir@xen.org>
Thu, 4 Nov 2010 16:37:29 +0000 (16:37 +0000)
committerKeir Fraser <keir@xen.org>
Thu, 4 Nov 2010 16:37:29 +0000 (16:37 +0000)
commitf2136c61335271251b5e692b2efe66bca0b9bd04
tree08e7f15737a981060632bd16ba09da4a65bb525f
parent0cd09703b178259c90832e4393ac8315ae340f2f
libelf: move to init text/data when built for the hypervisor

Rather than annotating each and every function and data object (and
then still missing some compiler generated ones, plus getting into
ugliness due to the code also being built from tools/libxc/), use
objcopy to rename all relevant sections.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/ia64/xen/xen.lds.S
xen/arch/x86/xen.lds.S
xen/common/libelf/Makefile